<template>
  <!-- 首页热门主播 -- 推荐部分 -->
  <div class="hot-dj">
      <div class="set-head">
          <p>热门主播</p>
      </div>
      <ul class="set-content">
          <li>
              <!-- 点击任何跳转 a就行 -->
              <a href="javascript:;">
                  <div class="img">
                      <img src="./img/1.jpg" alt="singer">
                  </div>
                  <div class="info">
                      <p>陈立</p>
                      <p class="text-ellipsis">心理学家、美食家陈立教授1111111111</p>
                  </div>
              </a>
          </li>
          <li>
              <!-- 点击任何跳转 a就行 -->
              <a href="javascript:;">
                  <div class="img">
                      <img src="./img/1.jpg" alt="singer">
                  </div>
                  <div class="info">
                      <p>陈立</p>
                      <p class="text-ellipsis">心理学家、美食家陈立教授1111111111</p>
                  </div>
              </a>
          </li>
      </ul>
  </div>
</template>

<script>
export default {
    name:'hot-dj'
}
</script>

<style scoped lang="scss">
    .hot-dj{
        padding: 20px 15px 10px;
        box-sizing: border-box;
        background-color: #fff;
        .set-head{
            height: 23px;
            line-height: 23px;
            border-bottom: 1px solid #ccc;
            font-size: 12px;
            margin-bottom: 20px;
            p{
                color: #333;
                float: left;
                font-weight: bold;
            }
        }
        .set-content{
            li{
                margin-top: 15px;
                a{
                    display: block;
                    width: 100%;
                    display: flex;
                    .img{
                        width: 40px;
                        height: 40px;
                        img{
                            width: 100%;
                            height: 100%;
                        }
                    }
                    .info{
                        width: 178px;
                        p{
                            margin-left: 15px;
                            line-height: 20px;
                            font-size: 12px;
                            &:nth-child(1){
                                color: #333;
                            }
                            &:nth-child(1):hover{
                                text-decoration: underline;
                            }
                            &:nth-child(2){
                                color: #666;
                            }
                        }
                    }
                }
            }
        }
    }
</style>